package com.fr71.project.dm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fr71.framework.aspectj.lang.annotation.Excel;
import com.fr71.framework.web.domain.BaseEntity;

/**
 * 事件统计对象 pd_event
 * 
 * @author devzwy
 * @date 2023-07-11
 */
public class PdEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    @Excel(name = "自增ID")
    private Long id;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer type;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 携带数据 */
    @Excel(name = "携带数据")
    private String data;

    /** 发生次数 */
    @Excel(name = "发生次数")
    private Long times;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setEventType(String eventType) 
    {
        this.eventType = eventType;
    }

    public String getEventType() 
    {
        return eventType;
    }
    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }
    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("eventType", getEventType())
            .append("data", getData())
            .append("times", getTimes())
            .toString();
    }
}
